package com.example.demo.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.entity.Dan;
import com.example.demo.mapper.DanMapper;
import com.example.demo.service.DanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DanServiceImpl extends ServiceImpl<DanMapper, Dan> implements DanService {

    @Resource
    private DanMapper danMapper;

    @Override
    public IPage<Dan> pageC(IPage<Dan> page) {
        return danMapper.pageC(page);
    }
}

